import { reactive, ref } from "vue";

export default function InitHook() {
  const tableData = ref<Array<AdditionalExpense.DeleteLogLisRows>>([]);
  const searchForm = reactive<AdditionalExpense.DeleteLogSearchForm>({
    waybillNums: "",
    customerName: "",
    costName: "",
    createBy: "",
    beforePageNum: 0,
    pageNum: 1,
    pageSize: 100,
    total: 0
  });
  const loading = ref<boolean>(false);
  return {
    tableData,
    searchForm,
    loading
  };
}
